﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_Index.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="WebApplication.Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Content/Css/Register.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Container" runat="server">
    <div class="main-container">
        <div class="session">
            <h1 style="text-align: center;">用户登录</h1>
            <div class="session-item">
                <asp:TextBox CssClass="session-input" runat="server" ID="UsernameText" placeholder="用户名"></asp:TextBox>
                <asp:RequiredFieldValidator ID="UsernameValid" runat="server" ControlToValidate="UsernameText" ErrorMessage="用户名必须填写" CssClass="session-error"></asp:RequiredFieldValidator>
            </div>
            <div class="session-item">
                <asp:TextBox CssClass="session-input" runat="server" ID="PasswordText" placeholder="密码" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="PasswordValid" runat="server" ControlToValidate="PasswordText" ErrorMessage="密码必须填写" CssClass="session-error"></asp:RequiredFieldValidator>
            </div>
            <div>
                <asp:Button runat="server" ID="RegisterBtn" CssClass="el-button el-button--primary w-100" Text="登录" OnClick="Login_Click" />
            </div>

        </div>
    </div>
</asp:Content>
